package com.mashibing.factorymethod;

public class Main {
    public static void main(String[] args) {
        //Car c = new Car();
        //c.go();
        //Plane p = new Plane();
        //p.go();
        //Moveable m = new Plane();
        //Moveable m = new Broom();
        Moveable m = new CarFactory().create();
        m.go();
    }
}
